package com.thouiot.modbus.config.properties;

/**
 * @description modbus udp 类型主机配置
 * @author wangkai
 * @date 2025/04/10 16:36
 */
public class ModbusMasterUdp {

    /**
     * 主机名称，用于区分多个主机
     */
    private String name;

    /**
     * 主机地址
     */
    private String host;

    /**
     * 端口
     */
    private int port = 502;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}
